package com.wzy.level.comment.commentService;

import com.wzy.Jdbc封装.pojo.News_comment;
import com.wzy.level.byPage.byPageDto.ByPage;

import java.util.List;

public interface commentService {
    //查询所有
    public List<News_comment> selectAll();

    public News_comment selectById(int id);
    //分页查询
    public List<News_comment> selectByPage(ByPage byPage);

    //增
    public int insert(News_comment comment );

    //改
    public int update(News_comment comment);

    //删
    public int deleteById(News_comment comment);

    public int deleteByName(News_comment comment);
}
